<template>
  <div class="user">
    <div class="user-left">
      <div class="user-image">
        <img src="~assets/img/profile/avatar.svg" alt />
      </div>
      <div class="user-info">
        <div class="login">
          <span>登录 / 注册</span>
        </div>
        <div class="phone">
          <img src="~assets/img/profile/phone.svg" alt />
          <span>暂无绑定手机号</span>
        </div>
      </div>
    </div>
    <div class="user-right">
      <img src="~assets/img/profile/arrow-right.png" alt="">
    </div>
  </div>
</template>

<script>
export default {
  name: "UserInfo",
};
</script>

<style scoped>
.user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 10px;
  background-color: var(--color-tint);
  color: #fff;
}
.user-left {
  display: flex;
  width: 80%;
}

.user-info {
  margin-left: 3px;
}

.user-image {
  width: 60px;
  height: 60px;
}

.user-image img {
  width: 100%;
  height: 100%;
}

.phone {
  margin-top: 10px;
  
}

.phone img {
  width: 20px;
  height: 20px;
  vertical-align: top;
}

.user-right {
  
}
.user-right img {
  width: 20px;
  height: 20px;
}
</style>